package com.boot.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.boot.DAO.UserPageDAO;
import com.boot.pojo.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.boot.pojo.CustomUserDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
* @author liyan
* @description 针对表【user】的数据库操作Mapper
* @createDate 2025-05-01 16:03:22
* @Entity com.boot.pojo.User
*/
@Mapper
public interface UserMapper extends BaseMapper<User> {
    CustomUserDetail selectUserDetailByUsername(String username);
    CustomUserDetail selectUserDetailById(Long id);

    IPage<User> selectMyPage(IPage<User> page,@Param("userPageDao") UserPageDAO userPageDAO);


}




